package ckw.network;

import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.Socket;

import core.messages.StanO;

public class Komisja {
	private Socket socket = null;
	private ObjectOutputStream oos = null;
	private ObjectInputStream ois = null;
	private Thread thread = null;
	private String ip = null;
	private String id; 
	private String name;
	private StanO stan = null;
	
	public Komisja(Socket socket, ObjectOutputStream oos, ObjectInputStream ois, Thread thread, String id, String ip, String name){
		this.socket = socket;
		this.oos = oos;
		this.ois = ois;
		this.thread = thread;
		this.id = id;
		this.ip = ip;
		this.name = name;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Socket getSocket() {
		return socket;
	}

	public void setSocket(Socket socket) {
		this.socket = socket;
	}

	public ObjectOutputStream getOos() {
		return oos;
	}

	public void setOos(ObjectOutputStream oos) {
		this.oos = oos;
	}

	public ObjectInputStream getOis() {
		return ois;
	}

	public void setOis(ObjectInputStream ois) {
		this.ois = ois;
	}

	public Thread getThread() {
		return thread;
	}

	public void setThread(Thread thread) {
		this.thread = thread;
	}
	
	public StanO getStan() {
		return stan;
	}

	public void setStan(StanO stan) {
		this.stan = stan;
	}
}
